feat(ai-gateway): How-to for validating MCP tokens locally with JWK verification#4839
Open
tomek-labuk wants to merge 10 commits intomainfrom
Open
feat(ai-gateway): How-to for validating MCP tokens locally with JWK verification#4839tomek-labuk wants to merge 10 commits intomainfrom
tomek-labuk wants to merge 10 commits intomainfrom
Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new MCP how-to guide for validating MCP access tokens locally via JWKS (JWK Set) verification with the AI MCP OAuth2 plugin, using Keycloak as the example authorization server.
Changes:
- Introduces a new how-to page detailing JWKS-based token validation and a local Keycloak setup workflow.
- Adds new Gateway
serviceandrouteentity example YAMLs used by the how-to’s{% entity_examples %}blocks.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| app/_how-tos/mcp/validate-mcp-tokens-with-jwk.md | New how-to describing JWKS-based local JWT validation for MCP using AI MCP OAuth2 + AI MCP Proxy, including validation steps. |
| app/_data/entity_examples/gateway/services/weather-jwk-service.yaml | Adds the upstream WeatherAPI service used by the new how-to. |
| app/_data/entity_examples/gateway/routes/weather-jwk.yaml | Adds the MCP listener route (including the protected-resource metadata path) used by the new how-to. |
| app/_data/entity_examples/gateway/routes/weather-jwk-route.yaml | Adds the conversion-only tools route used by the new how-to. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Kong/developer.konghq.com/sessions/9a4753a0-e11e-4fbb-8f78-de8c0275e115 Co-authored-by: tomek-labuk <207846229+tomek-labuk@users.noreply.github.com>
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #4820
Preview Links
Checklist
descriptionentry in frontmatter.